package com.chinacoal.microservice.api.fallback;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.chinacoal.microservice.api.RestSysClient;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;

/**  
 * @Package: com.chinacoal.microservice.api.fallback.RestSysClientFallback
 * @ClassName: RestSysClientFallback
 * @ClassDesc: 调用其他系统Fallback
 * @Createby: sunh
 * @CreatedDate: 2019-11-28 21:21:41
 */  
@Component
public class RestSysClientFallback implements RestSysClient {

	@Override
	public Result<List<Map<String, String>>> getApprover(Map<String, String> param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

}
